﻿using System.Collections.Generic;
using System.ComponentModel;

namespace ToyStore.Domain.Store
{
	/// <summary>
	/// Lektor.
	/// </summary>
	public class Reader : BaseEntity
	{
		/// <summary>
		/// Konstruktor.
		/// </summary>
		public Reader()
		{
			Products = new List<Product>();
		}

		/// <summary>
		/// Imię i nazwisko lektora.
		/// </summary>
		[DisplayName("Lektor")]
		public virtual string Name { get; set; }

		/// <summary>
		/// Lista nagrań lektora.
		/// </summary>
		[DisplayName("Nagrania")]
		public virtual IList<Product> Products { get; set; }
	}
}
